Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: show diff for errors that contain actual/expected without showDiff #1966

Merged
merged 1 commit into from
Sep 4, 2022
Merged

fix: show diff for errors that contain actual/expected without showDiff #1966

merged 1 commit into from
Sep 4, 2022

Conversation

IgnusG
Copy link
Contributor

@IgnusG IgnusG commented Sep 4, 2022

Display a diff of actual/expected when showDiff is undefined (as is the case for the AssertionError of node's assert).

Resolves #1965

Ping @sheremet-va

@sheremet-va sheremet-va merged commit c8afc01 into vitest-dev:main Sep 4, 2022
@IgnusG IgnusG deleted the fix-diff-not-showing-for-node-assert branch September 5, 2022 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suggestion: vitest rich assertion information support for node's assert - similar to jest
2 participants